home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / pmode / 386p_099 / pix.inc < prev    next >
Encoding:
Text File  |  1994-04-10  |  1.1 KB  |  27 lines

  1. Global  _Pix: near
  2.         ; it plots a pixel 
  3.         ; edi= scr_dest base offset
  4.         ; eax= x in pixels ; edx= y in pixels ; cl= color
  5.         
  6. Global _Block: near
  7.         ; it blits a single color block on screen using "nudget" copy
  8.         ;edi = scr_dest base offset    ;esi = color
  9.         ;eax = x position in nudgets   ;edx = y position in pixels
  10.         ;ecx = block width in nudgets  ;ebx = block height in pixels
  11.          
  12. Global _Scr2Scr: near
  13.         ; copies a screen rectangle fron a display page to another
  14.         ; eax = x position in nudgets   ; edx = y position in pixels
  15.         ; ecx = x width in nudgets      ; ebx = y height in pixels
  16.         ; esi = scr_source base offset  ; edi = scr_dest base offset
  17.         
  18. Global _View2Act: near
  19.         ; copies VISIBLE (on screen) page
  20.         ; to ACTIVE page (the page that will be the new visible page
  21.         ; when you'll call _PageFlip
  22.         ; 
  23.         ; Useful for saving the current image and then
  24.         ; drawing lots of menus and submenus and then
  25.         ; restoring the previous image
  26.  
  27.